home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 476-500 / disk_479 / uucp / uucp113.2.lzh / uucp2 / man / sendmail < prev    next >
Text File  |  1991-01-06  |  3KB  |  104 lines

  1.  
  2. NAME
  3.     SendMail
  4.  
  5. SYNOPSIS
  6.     SendMail <mailfile -f user -R realname -t to -c ccto -b bccto -s subject -r -raw
  7.  
  8. DESCRIPTION
  9.  
  10.     -r is specified to force sendmail not to process the 'From ' header
  11.     and is automatically specified when sendmail is run as rmail.  Note
  12.     that if run as rmail, the command line contains only To: addresses.
  13.     options are ignored.
  14.  
  15.     For sending mail, all options are optional except -f.  The 'from'
  16.     user must be specified.  SendMail will process and regenerate the
  17.     Subject:, To:, Cc:, and Bcc: lines, appending any additional
  18.     specifications on the command line.  SendMail will generate From:,
  19.     Date:, and other required headers, then send the mail to the
  20.     appropriate destinatoin.
  21.  
  22.     A given mail file consists of zero or more headers, a blank line,
  23.     then the mail contents.  The -raw option may be used for unformatted
  24.     mail (see below)
  25.  
  26.     -f user
  27.  
  28.     Specify user sourcing the mail, generates a 'From:' header.  This
  29.     header will be overridden by any From: headers in the data file
  30.  
  31.     -R realname
  32.  
  33.     Specify real name of user sourcing the mail.  This name is placed
  34.     in parenthesis after the user name in the generated 'From:' header.
  35.  
  36.     -t to
  37.  
  38.     specify the email address to send the mail to
  39.  
  40.     -c ccto
  41.  
  42.     specify the email address to send a carbon copy to
  43.  
  44.     -b bccto
  45.  
  46.     specify the email address to send a blind carbon copy to
  47.     (other recipients do not know you sent the mail to this
  48.      address because the Bcc: line is never propogated)
  49.  
  50.     -s subject
  51.  
  52.     specify the subject of the article.  The subject must be placed
  53.     in quotes if it contains tabs or spaces.
  54.  
  55.     -r
  56.  
  57.     Specify that sendmail is to go into 'rmail' mode.  This mode also
  58.     occurs if sendmail is renamed to rmail and run as rmail.  In this
  59.     mode, the very first line of the data file MUST be in the
  60.     'From ' form (From with a space and no colon), as in UUCP received
  61.     mail.  After this headers are expected, then a blank line, then
  62.     mail data.
  63.  
  64.     If not specified and sendmail is run, the 'From ' is not
  65.     expected, but the headers, blank line, and mail are.
  66.  
  67.     -raw
  68.  
  69.     Specify that the the TEXT BODY ON STDIN IS UNFORMATTED.  Sendmail
  70.     does not attempt to scan the text body for headers but assumes it
  71.     is entirely data.  Otherwise, the text body must contain zero or
  72.     more headers, a blank line, and then the text body.
  73.  
  74.     For example:    sendmail <datafile -f root -t marco -s test
  75.  
  76.     Where the datafile (on stdin) is not formatted... does not contain
  77.     any headers or even necessarily a blank line at the beginning.
  78.  
  79. UULIB:Config
  80.  
  81.     MaxRMailLen
  82.     If 0, means only one recipient per queue file is allowed (some
  83.     mailers are restricted like this).  If non-zero, then specifies
  84.     maximum length, in bytes, that the 'C rmail' line in the X.
  85.     file may be.  If the recipient list is larger than the buffer
  86.     length, then multiple queue files will be generated.
  87.  
  88.  
  89. NOTES
  90.  
  91.     (1) any unqualified To: or Cc: fields (i.e. local users) will be
  92.     qualified with your machine's full domain name.  This includes
  93.     local users in aliases.
  94.  
  95.     (2) sendmail will attempt to group multiple recipients of a given
  96.     message into a single batch file, if possible.    (Previous to
  97.     1.07 sendmail would generate a batch file for each recipient)
  98.  
  99.     (3) see MAN/ALIASES for changes in the way aliases are expanded on
  100.     the To: field.    The default as of 1.07 is to expand aliases.
  101.     A double-colon specification in the alias causes it to NOT be
  102.     expanded in the To: field.
  103.  
  104.